var renderHtml = function($scope, $) {
  var moduleIframeTpl = require('../tpl/modules.html');
  var $renderHtml = $($scope.layout);
  var $body = $('body');
  var $module = mustache.render(moduleIframeTpl, $scope);
  var html = $body.append($renderHtml).find('.js-content').append($module);
  return html;
};
module.exports = renderHtml;
